import request from '@/utils/request'

// 查询列表
export function findPageList(query) {
  return request({
    url: '/machine/car/findPageList',
    method: 'get',
    params: query
  })
}

// 查询详细
export function findById(query) {
  return request({
    url: '/machine/car/findById',
    method: 'post',
    data: query
  })
}

// 新增/修改参数配置
export function saveOrUpdate(data) {
  return request({
    url: '/machine/car/saveOrEdit',
    method: 'post',
    data: data
  })
}

// 删除参数配置
export function deleteById(param) {
  return request({
    url: '/machine/car/updateById',
    method: 'post',
    data:param
  })
}

